package cn.fl.riskctrl.service;

import cn.cmm.base.framework.exception.BaseException;
import fl.riskctrl.facade.riskctrl.dto.DataResultDTO;
import org.springframework.web.servlet.ModelAndView;

/**
 * 风控服务接口
 * @author FUJINGRUN
 *
 */
public interface IRskCtrlZkService {

	/**
	 * 获取风控数据
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @return 包含所有征信信息
	 * @throws BaseException
	 */
	public DataResultDTO getRiskCtrlIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检中智诚征信是否正常
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkZZCIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检查信加征信是否正常
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkXjIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 手机认证
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkSynthMobileIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 三方综合评分
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkSynthScoreIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 设置客户和担保人ID
	 * @param prjId
	 * @param view
	 * @throws BaseException
	 */
	public void setCstIdForView(Long prjId, ModelAndView view)throws BaseException;
	
}
